// Redis Client Setup
const redis = require("redis");
const redisClient = redis.createClient({
  host: process.env.REDIS_HOST,
  port: process.env.REDIS_PORT,
  retry_strategy: () => 1000,
});
const redisPublisher = redisClient.duplicate();

module.exports.redisClient = redisClient;
module.exports.redisPublisher = redisPublisher;
